package com.linkage.util.password.plaintext;

/**
 * <p>Title: password</p>
 * <p>Description: Process all password</p>
 * <p>Copyright: Copyright (c) 2003</p>
 * <p>Company: linkage</p>
 * @author lijq
 * @version 1.0
 */

public class Plaintext {
  public Plaintext() {
  }
  public static String encryptPassword(String plaintext) throws Exception {
    return plaintext;
  }
  public static String decryptPassword(String cryptograph) throws Exception {
    return cryptograph;
  }
  public static boolean checkPassword(String plaintext, String cryptograph) throws Exception {
  	if (plaintext == null) return false;
    return plaintext.equals(cryptograph);
  }
}